mergGKLoadScores
Type
command
Summary
Get a leaderboard of scores
Syntax
mergGKLoadScores <pCategory>, [<pTimeScope>], [<pPlayerScope>], [<pFrom>], [<pTo>], [<pPlayerIDs>]
Description
Use this command to create a custom leaderboard within your app rather than use the Game Center modal. You could for example, use the list of player IDs from mergGKFriends to create a friends only list.
Parameters
Name | Type | Description |
---|---|---|
pCategory | The leaderboard ID for the leaderboard. | |
pTimeScope | (optional with "all time" default) The time scope of the request. One of:
| |
pPlayerScope | (optional with "global" default) The player scope of the request. One of:
| |
pFrom | (optional with 1 default) The first score in the range to return. | |
pTo | (optional with 10 default) The last score in the range to return. | |
pPlayerIDs | (optional with "" default) A return separated list of player id's if you would like the scores reported on only those players. |
Compatibility and Support
Introduced
LiveCode 8.0
OS
ios
Platforms
mobile